package com.ruoyi.develop.factory.factoryMaterialAssist.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 原材料（辅材）对象 factory_material_assist
 *
 * @author lmm
 * @date 2024-11-06
 */
public class FactoryMaterialAssist extends BaseEntity {
private static final long serialVersionUID=1L;

    /** 主键 */
    private String id;

    /** * 框架id */
    @Excel(name = "框架id")
    private String projectId;

    /** * 框架编号 */
    @Excel(name = "框架编号")
    private String projectCode;

    /** 生产订单号 */
    @Excel(name = "生产订单号")
    private String orderId;

    /** * 订单id */
    @Excel(name = "订单编号")
    private String orderCode;

    /** 工单id */
    private String workOrderId;

    /** * 工单编号 */
    private String workOrderCode;

    /** * 到货明细id */
    private String daohuoDetailId;

    /** * 入库明细 */
    private String rukuId;

    /** * 生产明细id */
    private String produceRecordDetailId;

    /** * 抽样ID */
    private String sampleId;

    /** * 材料id */
    private String materialId;

    /** * 产品id */
    @Excel(name = "产品id")
    private String goodsId;

    /** * 产品编号 */
    @Excel(name = "产品编号")
    private String goodsCode;

    /** * 产品名称 */
    @Excel(name = "产品名称")
    private String goodsName;

    /** * 产品型号 */
    @Excel(name = "产品型号")
    private String goodsModel;

    /** 订单产品关联id */
    @Excel(name = "订单产品关联id")
    private String goodsSaleId;

    /** 辅材类型 */
    @Excel(name = "辅材类型")
    private String type;

    /** 来料检验批次号 */
    @Excel(name = "来料检验批次号")
    private String batchNumber;

    /** 原材料制造商 */
    @Excel(name = "原材料制造商")
    private String producer;

    /** 样品编号 */
    @Excel(name = "样品编号")
    private String sampleNumber;

    /** 检测结果 */
    @Excel(name = "检测结果")
    private String detectionResult;

    /** 锌层厚度 */
    @Excel(name = "锌层厚度")
    private String znThick;

    /** 出厂检测日期 */
    @JsonFormat(locale="zh", timezone="GMT+8", pattern="yyyy-MM-dd")
    @Excel(name = "出厂检测日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date leaveInspectDate;

    /** 入厂检测日期 */
    @JsonFormat(locale="zh", timezone="GMT+8", pattern="yyyy-MM-dd")
    @Excel(name = "入厂检测日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date arriveInspectDate;

    /** 入厂检测日期 */
    @Excel(name = "质量证书")
    private String qualityCertificate;

    /** 删除标志 */
    private String delFlag;

    /** 来料检测报告 */
    @Excel(name = "来料检测报告")
    private String materialReport;

    /** 生产厂检测报告 */
    @Excel(name = "生产厂检测报告")
    private String productReport;

    /** 入库id */
    private String rukkuId;

    /**
     * 质检是否合格
     */
    private String testPass;

    public String getRukkuId() {
        return rukkuId;
    }

    public void setRukkuId(String rukkuId) {
        this.rukkuId = rukkuId;
    }

    public String getTestPass() {
        return testPass;
    }

    public void setTestPass(String testPass) {
        this.testPass = testPass;
    }

    public String getMaterialReport() {
        return materialReport;
    }

    public void setMaterialReport(String materialReport) {
        this.materialReport = materialReport;
    }

    public String getProductReport() {
        return productReport;
    }

    public void setProductReport(String productReport) {
        this.productReport = productReport;
    }

    public void setId(String id)
            {
            this.id = id;
            }

    public String getId()
            {
            return id;
            }
    public void setType(String type)
            {
            this.type = type;
            }

    public String getMaterialId() {
        return materialId;
    }


    public String getSampleId() {
        return sampleId;
    }

    public void setSampleId(String sampleId) {
        this.sampleId = sampleId;
    }

    public void setMaterialId(String materialId) {
        this.materialId = materialId;
    }

    public String getType()
            {
            return type;
            }
    public void setBatchNumber(String batchNumber)
            {
            this.batchNumber = batchNumber;
            }

    public String getBatchNumber()
            {
            return batchNumber;
            }
    public void setProducer(String producer)
            {
            this.producer = producer;
            }

    public String getProducer()
            {
            return producer;
            }
    public void setSampleNumber(String sampleNumber)
            {
            this.sampleNumber = sampleNumber;
            }

    public String getSampleNumber()
            {
            return sampleNumber;
            }
    public void setDetectionResult(String detectionResult)
            {
            this.detectionResult = detectionResult;
            }

    public String getDetectionResult()
            {
            return detectionResult;
            }
    public void setZnThick(String znThick)
            {
            this.znThick = znThick;
            }

    public String getZnThick()
            {
            return znThick;
            }
    public void setLeaveInspectDate(Date leaveInspectDate)
            {
            this.leaveInspectDate = leaveInspectDate;
            }

    public Date getLeaveInspectDate()
            {
            return leaveInspectDate;
            }
    public void setArriveInspectDate(Date arriveInspectDate)
            {
            this.arriveInspectDate = arriveInspectDate;
            }

    public Date getArriveInspectDate()
            {
            return arriveInspectDate;
            }
    public void setQualityCertificate(String qualityCertificate)
            {
            this.qualityCertificate = qualityCertificate;
            }

    public String getQualityCertificate()
            {
            return qualityCertificate;
            }
    public void setDelFlag(String delFlag)
            {
            this.delFlag = delFlag;
            }

    public String getDelFlag()
            {
            return delFlag;
            }

    public String getProjectId() {
        return projectId;
    }

    public void setProjectId(String projectId) {
        this.projectId = projectId;
    }

    public String getOrderId() {
        return orderId;
    }

    public void setOrderId(String orderId) {
        this.orderId = orderId;
    }

    public String getWorkOrderId() {
        return workOrderId;
    }

    public void setWorkOrderId(String workOrderId) {
        this.workOrderId = workOrderId;
    }

    public String getWorkOrderCode() {
        return workOrderCode;
    }

    public void setWorkOrderCode(String workOrderCode) {
        this.workOrderCode = workOrderCode;
    }

    public String getProjectCode() {
        return projectCode;
    }

    public void setProjectCode(String projectCode) {
        this.projectCode = projectCode;
    }

    public String getOrderCode() {
        return orderCode;
    }

    public void setOrderCode(String orderCode) {
        this.orderCode = orderCode;
    }

    public String getGoodsId() {
        return goodsId;
    }

    public void setGoodsId(String goodsId) {
        this.goodsId = goodsId;
    }

    public String getGoodsCode() {
        return goodsCode;
    }

    public void setGoodsCode(String goodsCode) {
        this.goodsCode = goodsCode;
    }

    public String getGoodsName() {
        return goodsName;
    }

    public void setGoodsName(String goodsName) {
        this.goodsName = goodsName;
    }

    public String getGoodsModel() {
        return goodsModel;
    }

    public void setGoodsModel(String goodsModel) {
        this.goodsModel = goodsModel;
    }

    public String getGoodsSaleId() {
        return goodsSaleId;
    }

    public void setGoodsSaleId(String goodsSaleId) {
        this.goodsSaleId = goodsSaleId;
    }

    public String getDaohuoDetailId() {
        return daohuoDetailId;
    }

    public void setDaohuoDetailId(String daohuoDetailId) {
        this.daohuoDetailId = daohuoDetailId;
    }

    public String getRukuId() {
        return rukuId;
    }

    public void setRukuId(String rukuId) {
        this.rukuId = rukuId;
    }
    public String getProduceRecordDetailId() {
        return produceRecordDetailId;
    }

    public void setProduceRecordDetailId(String produceRecordDetailId) {
        this.produceRecordDetailId = produceRecordDetailId;
    }


    @Override
    public String toString(){
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id",getId())
            .append("type",getType())
            .append("batchNumber",getBatchNumber())
            .append("producer",getProducer())
            .append("sampleNumber",getSampleNumber())
            .append("detectionResult",getDetectionResult())
            .append("znThick",getZnThick())
            .append("leaveInspectDate",getLeaveInspectDate())
            .append("arriveInspectDate",getArriveInspectDate())
            .append("qualityCertificate",getQualityCertificate())
            .append("createBy",getCreateBy())
            .append("createTime",getCreateTime())
            .append("updateBy",getUpdateBy())
            .append("updateTime",getUpdateTime())
            .append("delFlag",getDelFlag())
        .toString();
    }
}
